// 文章详情页面类型定义

export interface Article {
  id: number
  title: string
  content: string
  excerpt?: string
  category?: string
  tags?: string[] | string
  coverImage?: string
  author?: string
  views?: number
  likes?: number
  readTime?: number
  createdAt?: string
  updatedAt?: string
  date?: string
}

export interface Comment {
  id: number
  content: string
  author: string
  articleId: number
  createdAt: string
  updatedAt?: string
} 